package neu.soft.mapper;


import neu.soft.entity.DO.City;
import neu.soft.entity.DO.Province;
import neu.soft.entity.DO.Region;
import neu.soft.entity.DO.ZipCode;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RegionMapper {

    List<Province> findAllProvince();

    List<City> findCityByProvince(String provinceId);

    List<Region> findRegionByCity(Integer cityId);

    City findInfo(@Param("provinceName") String provinceName,@Param("cityName") String cityName);

    ZipCode findZipCode(Integer regionId);

    ZipCode findRegionInfo(@Param("provinceName") String provinceName,@Param("cityName") String cityName,@Param("regionName") String regionName);


}
